﻿@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link href="Content/css/bootstrap.min.css" rel="stylesheet" />
    @*<link href="Content/css/bootstrap-theme.min.css" rel="stylesheet" />*@
    <script src="Scripts/libs/jquery.js"></script>
    <script src="@Url.Content("~/Scripts/libs/bootstrap.min.js") "></script>

    @RenderSection("css")
   
</head>
<body>
    <div>
        <div id="body">
            @RenderBody()
        </div>
    </div>
    <script>

        var resize = function () {
            var navH = $("#nav").height();
            var wh = $(this).height();
            document.getElementById("body").style.height = wh - navH + "px";
            document.getElementById("body").style.marginTop = navH + "px";
        };
      
        $(function () {
            $(window).resize(resize);
            resize();
        });
    </script>
    @RenderSection("script")
    
</body>
</html>